package com.sc.nft.service;

import com.sc.nft.entity.ShareTheIncomeRecord;

import java.util.List;

/**
 * 分润收入记录(ShareTheIncomeRecord)表服务接口
 *
 * @author wwc
 * @since 2023-04-21 13:46:30
 */
public interface ShareTheIncomeRecordService {

    /**
     * 数据批量入库
     *
     * @param shareTheIncomeRecord
     */
    void batchInsert(List<ShareTheIncomeRecord> shareTheIncomeRecord);

    /**
     * 更新状态为已处理
     * @param id
     */
    void theStatusWasUpdatedToProcessed(Long id);

    /**
     * 查询所有
     * @return
     */
    List<ShareTheIncomeRecord> ntmpleQueryAllUnprovisionedData(Integer type);
}
